package com.zhaowb.springcloud.gate;

import com.zhaowb.springcloud.gate.util.DBLog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Created with IDEA
 *
 * @author zhaowb
 * @date 2018/11/9 16:20
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableZuulProxy
public class GateApplication {
    public static void main(String[] args) {
        DBLog.getInstance().start();
        SpringApplication.run(GateApplication.class, args);
    }
}
